home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 3.iso
/
dist
/
fw_qt3.idb
/
usr
/
freeware
/
Qt
/
tutorial
/
t12
/
lcdrange.h.z
/
lcdrange.h
Wrap
C/C++ Source or Header
|
2002-04-08
|
788b
|
44 lines
/****************************************************************
**
** Definition of LCDRange class, Qt tutorial 12
**
****************************************************************/
#ifndef LCDRANGE_H
#define LCDRANGE_H
#include <qvbox.h>
class QSlider;
class QLabel;
class LCDRange : public QVBox
{
Q_OBJECT
public:
LCDRange( QWidget *parent=0, const char *name=0 );
LCDRange( const char *s, QWidget *parent=0,
const char *name=0 );
int value() const;
const char *text() const;
public slots:
void setValue( int );
void setRange( int minVal, int maxVal );
void setText( const char * );
signals:
void valueChanged( int );
private:
void init();
QSlider *slider;
QLabel *label;
};
#endif // LCDRANGE_H